<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="UserSettingsCD" targetNamespace="http://www.RobertRisley.com/UserSettingsCD.xsd" xmlns:mstns="http://www.RobertRisley.com/UserSettingsCD.xsd" xmlns="http://www.RobertRisley.com/UserSettingsCD.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="RWR_SettingsConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="RWR_SettingsConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.RWR.Windows.Components.DSBO.Properties.Settings.GlobalReference.Default.RWR_SettingsConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="UserSettingsTableAdapter" GeneratorDataComponentClassName="UserSettingsTableAdapter" Name="UserSettings" UserDataComponentName="UserSettingsTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="RWR_SettingsConnectionString (Settings)" DbObjectName="cUnderwriter.dbo.UserSettings" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT     UserName, UserSettingsXml
FROM         dbo.UserSettings
WHERE UserName = @UserName</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="UserName" ColumnName="UserName" DataSourceName="RWR.dbo.UserSettings" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@UserName" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="UserName" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="UserName" DataSetColumn="UserName" />
              <Mapping SourceColumn="UserSettingsXml" DataSetColumn="UserSettingsXml" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="UserSettingsCD" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="UserSettingsCD" msprop:Generator_DataSetName="UserSettingsCD">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="UserSettings" msprop:Generator_UserTableName="UserSettings" msprop:Generator_RowDeletedName="UserSettingsRowDeleted" msprop:Generator_RowChangedName="UserSettingsRowChanged" msprop:Generator_RowClassName="UserSettingsRow" msprop:Generator_RowChangingName="UserSettingsRowChanging" msprop:Generator_RowEvArgName="UserSettingsRowChangeEvent" msprop:Generator_RowEvHandlerName="UserSettingsRowChangeEventHandler" msprop:Generator_TableClassName="UserSettingsDataTable" msprop:Generator_TableVarName="tableUserSettings" msprop:Generator_RowDeletingName="UserSettingsRowDeleting" msprop:Generator_TablePropName="UserSettings">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="UserName" msdata:Caption="User Name" msprop:Generator_UserColumnName="UserName" msprop:Generator_ColumnPropNameInRow="UserName" msprop:Generator_ColumnVarNameInTable="columnUserName" msprop:Generator_ColumnPropNameInTable="UserNameColumn" default="anonymous">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="UserSettingsXml" msdata:Caption="User Settings Xml" msprop:Generator_UserColumnName="UserSettingsXml" msprop:Generator_ColumnPropNameInRow="UserSettingsXml" msprop:Generator_ColumnVarNameInTable="columnUserSettingsXml" msprop:Generator_ColumnPropNameInTable="UserSettingsXmlColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Settings" msprop:Generator_UserTableName="Settings" msprop:Generator_RowDeletedName="SettingsRowDeleted" msprop:Generator_RowChangedName="SettingsRowChanged" msprop:Generator_RowClassName="SettingsRow" msprop:Generator_RowChangingName="SettingsRowChanging" msprop:Generator_RowEvArgName="SettingsRowChangeEvent" msprop:Generator_RowEvHandlerName="SettingsRowChangeEventHandler" msprop:Generator_TableClassName="SettingsDataTable" msprop:Generator_TableVarName="tableSettings" msprop:Generator_RowDeletingName="SettingsRowDeleting" msprop:Generator_TablePropName="Settings">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Key" msprop:Generator_UserColumnName="Key" msprop:Generator_ColumnPropNameInRow="Key" msprop:Generator_ColumnVarNameInTable="columnKey" msprop:Generator_ColumnPropNameInTable="KeyColumn" type="xs:string" default="DefaultKey" />
              <xs:element name="Value" msprop:Generator_UserColumnName="Value" msprop:Generator_ColumnPropNameInRow="Value" msprop:Generator_ColumnVarNameInTable="columnValue" msprop:Generator_ColumnPropNameInTable="ValueColumn" type="xs:string" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:UserSettings" />
      <xs:field xpath="mstns:UserName" />
    </xs:unique>
    <xs:unique name="Settings_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Settings" />
      <xs:field xpath="mstns:Key" />
    </xs:unique>
  </xs:element>
</xs:schema>